<ion-header>
  <ion-navbar>
    <ion-title>民大资讯</ion-title>
  </ion-navbar>
</ion-header>

<ion-content padding>
    <ion-slides autoplay="2000" loop="true" *ngIf="cl.length>0">

        <ion-slide *ngFor="let c of cl" (click)="goToCarousleDetail(c)" >
          <img src="{{c.pic}}"/>
          <div class="cover"></div>
          <span class="title">{{c.title}}</span>
        </ion-slide>
      </ion-slides>

  <!-- <ion-list>

    <ion-item *ngFor="let n of nl" (click)="goToNewsDetail(n)">
     <h5>{{n.title}}</h5>
    </ion-item>

  </ion-list> -->

  <ion-list>
      <ion-item *ngFor="let n of nl" (click)="goToNewsDetail(n)">
        <ion-thumbnail item-start>
          <img src="{{PICHOST}}{{n.coverpic}}" *ngIf="n.coverpic" >
        </ion-thumbnail>
        <h2>{{n.title}}</h2>
        <p>摘要</p>
       
      </ion-item>
    </ion-list>

</ion-content>
